package com.bjpowernode.boss.mvc.models.query;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;

@Data
public class LoginQuery {

    @NotBlank(message = "登录用户名不能为空")
    @Size(min = 5, max = 20, message = "登录用户名长度必须为5-20位")
    private String loginName;

    @NotBlank(message = "登录密码不能为空")
    @Size(min = 32, max = 32, message = "登录密码长度必须为5-20位")
    private String loginPwd;

}
